﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;

namespace SimpleNet
{
	public interface IClientManager
	{
		public Tuple<bool, IConnection> AddClient(Socket client);
		public void RemoveClient(long ClientID);
		public IEnumerable<IConnection> GetClients();
		public IConnection GetClient(long key);
		public IEnumerable<IConnection> GetClient(long[] keys);

		public int GetClientCount();

		public bool ContainsKey(long key);
	}
}
